Arrays 101: Introduction

Arrays are one of the most flexible data structures available to programmers. Arrays store information as ordered indexed collections. JavaScript does not provide array primitives; instead, with minimal programming, objects emulate arrays. Properties named "1", "2", "3", etc, point to each element. As a bonus, objects can set and refer to length properties explicitly.
Copyright ©1998 by Charles River Media, All Rights Reserved